/*=============================================================================
// File Name:   drv_gpio.h
// Author:      Wood Wang
// Date:        2022/10/1
// Version:     v1.0

=============================================================================*/

#ifndef __DRV_GPIO_H
#define __DRV_GPIO_H
/* Includes -----------------------------------------------------------------*/
#include "main.h"
#include "pin_mux.h"
/***********************************************************************************************************************
 * API
 **********************************************************************************************************************/

#if defined(__cplusplus)
extern "C" {
#endif


/* Symbols to be used with GPIO driver */
#define BOARD_LED_GPIO              GPIO            /*!<@brief GPIO peripheral base pointer */
#define BOARD_LED_GPIO_PIN_MASK     (1U << 0U)      /*!<@brief GPIO pin mask */
#define BOARD_LED_PORT              0U              /*!<@brief PORT device index: 0 */
#define BOARD_LED_PIN               0U              /*!<@brief PORT pin number */
#define BOARD_LED_PIN_MASK          (1U << 0U)      /*!<@brief PORT pin mask */
                                                    /* @} */


void  drv_gpio_init(void);





#if defined(__cplusplus)
}
#endif

/*!
 * @}
 */
#endif  //__DRV_GPIO_H

